package com.bms.cfcmms.model.system.authority;

import com.bms.cfcmms.model.BaseModel;
import lombok.Data;

import javax.persistence.Column;

/**
 * Created by carl on 2016/8/6.
 */
@Data
public class UserRoleDetail extends BaseModel {

    public static final String TABLE_NAME = "role_operdetail";
    public static final String QUERY_PARAM = "userId";

    @Column
    private Integer userId;
    @Column
    private String moduleId;
    @Column
    private Integer allowBrowse;
    @Column
    private Integer allowInsert;
    @Column
    private Integer allowEdit;
    @Column
    private Integer allowDelete;
}
